import 'package:flutter/cupertino.dart';

import '../model/cn_ossPolic_model.dart';

class CnObjectCache {
  static CnObjectCache? objectCache;

  CnObjectCache._();

  factory CnObjectCache.getInfo() {
    return objectCache ??= CnObjectCache._();
  }

  static final GlobalKey<NavigatorState> navigatorKey =
      GlobalKey<NavigatorState>();

   CnOssPolicModel ossPolicModel = CnOssPolicModel.empty();
   Function?  coinShopFinish;
   String  strongGuidePic = "";
  static BuildContext? getTopContext() {
    return navigatorKey.currentState?.overlay?.context;
  }
}
